package com.gufe.service.user.impl.mp;

import com.gufe.dto.NoticeDTO;
import com.gufe.mapper.user.mp.WxNoticeMapper;
import com.gufe.service.user.mp.WxNoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WxNoticeServiceImpl implements WxNoticeService {

    @Autowired
    private WxNoticeMapper wxNoticeMapper;

    @Override
    public List<NoticeDTO> getNoticeList() {

        return wxNoticeMapper.getAllNotice();
    }
}
